package org.jeecg.modules.cosmetic.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.cosmetic.entity.TPackageType;
import org.jeecg.modules.cosmetic.mapper.TPackageTypeMapper;
import org.jeecg.modules.cosmetic.model.dto.PackageTypeDTO;
import org.jeecg.modules.cosmetic.service.ITPackageTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 包装计算商品类型表 服务实现类
 * </p>
 *
 * @author liqing
 * @since 2023-03-24
 */
@Service
@DS("cosmetic-datasource")
public class TPackageTypeServiceImpl extends ServiceImpl<TPackageTypeMapper, TPackageType> implements ITPackageTypeService {

    @Resource
    private TPackageTypeMapper tPackageTypeMapper;

    @Override
    public List<PackageTypeDTO> queryPackageType() {
        return tPackageTypeMapper.queryPackageType();
    }
}
